package cn.stylefeng.guns.modular.tool.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.tool.entity.ToolOrderPutDetailed;
import cn.stylefeng.guns.modular.tool.model.params.ToolOrderPutDetailedParam;
import cn.stylefeng.guns.modular.tool.model.result.ToolOrderPutDetailedResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 云仓入库明细表 服务类
 * </p>
 *
 * @author zhucx
 * @since 2023-04-03
 */
public interface ToolOrderPutDetailedService extends IService<ToolOrderPutDetailed> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2023-04-03
     */
    void add(ToolOrderPutDetailedParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2023-04-03
     */
    void delete(ToolOrderPutDetailedParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2023-04-03
     */
    void update(ToolOrderPutDetailedParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2023-04-03
     */
    ToolOrderPutDetailedResult findBySpec(ToolOrderPutDetailedParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2023-04-03
     */
    List<ToolOrderPutDetailedResult> findListBySpec(ToolOrderPutDetailedParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2023-04-03
     */
     LayuiPageInfo findPageBySpec(ToolOrderPutDetailedParam param,String condition);

     boolean saveBatchList(List<ToolOrderPutDetailedParam> list);

	List<ToolOrderPutDetailedResult> totalListByGgoodsSpec(ToolOrderPutDetailedParam param);

}
